package jsyf.oa.facade.crm;

import com.alibaba.dubbo.rpc.protocol.rest.support.ContentType;
import com.alibaba.fastjson.JSONObject;

import javax.ws.rs.Consumes;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;

/**
 * Created by wangmin on 2018/1/15.
 */
@Path("/exhibitionService")
@Consumes({MediaType.APPLICATION_JSON, MediaType.TEXT_XML})
@Produces({ContentType.APPLICATION_JSON_UTF_8, ContentType.TEXT_XML_UTF_8})
public interface CustomerVisitFacade {
    @Path("/getStateByUserId")
    Integer getStateByUserId(String jsonData);
    @Path("/getEntityByUserId")
    JSONObject getEntityByUserId(String jsonData);
    @Path("/save")
    Integer save(String jsonData);
    @Path("/update")
    Integer updateEntity(String jsonData);
    @Path("/addCustomerVisit")
    Integer addCustomerVisit(String jsonData);

}
